<?php
declare(strict_types=1);
/**
 * Created by PhpStorm
 * User: Administrator
 * Date: 2023/8/16
 * Time: 10:40:22
 */

namespace App\Controller\Api;

use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\RequestMapping;

/**
 * @Controller(prefix="/Test")
 */
class TestController extends \App\Controller\AbstractController
{
    /**
     * @RequestMapping(path="test",methods="post")
     */
    public function test(RequestMapping $request){
        $param = $this->request->all();
        return (new \Service\CommodityService\GoodsBrandService())->brandList($param);
    }
}